package com.example.common.service;

import com.example.common.constant.OpenConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = OpenConstant.PROVIDE, path = OpenConstant.PROVIDE)
public interface HelloClient {

    @GetMapping("sayHello")
    String sayHello(@RequestParam("name") String name);

}
